﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;

namespace UserInputWizard
{
    class Log
    {
        public static string LogFile
        {
            get{
                return  Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "logfile.log");
            }
        }

        public static void WriteLine(string log)
        {
            Trace.WriteLine(
                String.Format("{0} {1} : {2}",
                DateTime.Now.ToShortDateString(),
                DateTime.Now.ToShortTimeString(),
                log));
        }
    }
}
